package lab02.test04;

public class Employee {
    private String ename;
    private String eno;
    private String ephone;
    private float emoney;
    private float egrowth;

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getEphone() {
        return ephone;
    }

    public void setEphone(String ephone) {
        this.ephone = ephone;
    }

    public float getEmoney() {
        return emoney;
    }

    public void setEmoney(float emoney) {
        this.emoney = emoney;
    }

    public float getEgrowth() {
        return egrowth;
    }

    public void setEgrowth(float egrowth) {
        this.egrowth = egrowth;
    }


    public void moneyGrowth(){
        System.out.println("薪水增长额："+egrowth);
    }

    public void allMoney(){
        System.out.println("工资总额："+(emoney+egrowth));
    }
}
